<!doctype html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link href="css/mui.min.css" rel="stylesheet" />
		<link rel="stylesheet" href="css/style.css" />
		<style>
			.ctn{
				padding-bottom: 0 !important;
				background-color: #1D1D1D;
			}
			.mui-bar-nav {
			    top: 0;
			    -webkit-box-shadow: 0 1px 6px #1D1D1D;
			     box-shadow: 0 1px 6px #1D1D1D; 
			}
		</style>
	</head>
	<body class="optionalPage ctn">
		<!--navBar-->
		<header class="mui-bar mui-bar-nav">
			<span class="mui-action-back mui-icon mui-icon-arrowleft"></span>
			<h1 class="mui-title">资金明细</h1>
		</header>
		<!--contInner-->
		<div class="contInner history_title" style="margin-top:1.2rem;">
			<div class=" mui-content part ctn money">
				<ul class="money_detail">
					<li class="mui-col-sm-12 mui-col-xs-12 deal_name">
						<span>账户：</span><span id="f1"></span>
					</li>
					<li class="mui-col-sm-12 mui-col-xs-12">
						<span>币种：</span><span id="f2"></span>
					</li>
					<li class="mui-col-sm-12 mui-col-xs-12">
						<span>总入金：</span><span id="f3"></span>
					</li>
					<li class="mui-col-sm-12 mui-col-xs-12">
						<span>总出金：</span><span id="f4"></span>
					</li>
					<li class="mui-col-sm-12 mui-col-xs-12 deal_name">
						<span>总手续费：</span><span id="f5"></span>
					</li>
					<li class="mui-col-sm-12 mui-col-xs-12">
						<span>总浮动盈亏：</span><span id="f6"></span>
					</li>
					<li class="mui-col-sm-12 mui-col-xs-12">
						<span>冻结保证金：</span><span id="f7"></span>
					</li>
					<li class="mui-col-sm-12 mui-col-xs-12">
						<span>可用资金：</span><span id="f8"></span>
					</li>
					<li class="mui-col-sm-12 mui-col-xs-12">
						<span>总资金：</span><span id="f9"></span>
					</li>
					<!--<li class="mui-col-sm-12 mui-col-xs-12">
						<span>风险率：</span><span id="f10"></span>
					</li>-->
				</ul>
			</div>
		</div>

	</body>
	<script src="js/mui.min.js"></script>
	<script src='libs/easymob-webim-sdk/jquery-1.11.1.js'></script>
	<script >jQuery.noConflict()</script>
	<script src='js/mstock.js'></script>
	<script src='js/configs.js'></script>
	<script src='json/all.js'></script>
	<script type="text/javascript">
		mui.init();
		if(account){
	        mui.ajax(server.stockMdetail,{
		        data:{
	             account:account
	            },
	            dataType:'json',//数据格式类型
	            type:'POST',//http请求类型
	            timeout:10000,//超时设置
	            success:function(data){
	                        //处理成功返回的数据
	                console.log(data);
	                var accounts=data.data.account;//账户
	                var cardType=data.data.stockUserInfo.cardType;//币种
	                var usableFund=data.data.stockUserInfo.usableFund;//总入金
	                var allFund=data.data.stockUserInfo.allFund;//总资金
	                var floatFee=data.data.stockUserInfo.floatFee;//总手续费
	                var markValue=data.data.stockUserInfo.markValue;
	                var usdFee=data.data.stockUserInfo.usdFee;
	                var outFee=data.data.stockUserInfo.outFee;//总出金
	                var inFee=data.data.stockUserInfo.inFee;
	                var proportion=data.data.stockUserInfo.proportion;
	                var frostDeposit=data.data.stockUserInfo.frostDeposit;
	                document.getElementById("f1").innerHTML=accounts;
	                document.getElementById("f2").innerHTML='美元';
	                document.getElementById("f3").innerHTML=inFee;
	                document.getElementById("f4").innerHTML=outFee;
	                document.getElementById("f5").innerHTML=usdFee;
	                document.getElementById("f6").innerHTML=floatFee;
	                document.getElementById("f7").innerHTML=frostDeposit;
	                document.getElementById("f8").innerHTML=usableFund;
	                document.getElementById("f9").innerHTML=allFund;
//	                document.getElementById("f10").innerHTML=proportion;
	            }
		    })
	    }
	</script>
</html>